﻿using Nop.Core.Domain.Messages;
using Nop.Web.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace SpotsHub.Gateway.Models.Customer
{
    public class CustomerSettingsModel
    {
        public CustomerSettingsModel()
        {
            AvailableRegions = new List<SelectListItem>();
            AvailableLanguages = new List<SelectListItem>();
            AvailableTimeZones = new List<SelectListItem>();
        }

        public CustomerNavigationModel NavigationModel { get; set; }
        public CustomerEmailPreferenceModel EmailPreferences { get; set; }
        public IList<SelectListItem> AvailableRegions { get; set;}
        public IList<SelectListItem> AvailableLanguages { get; set;}
        public IList<SelectListItem> AvailableTimeZones { get; set; }
        public int SelectedRegion { get; set; }
        public int SelectedLanguage { get; set; }
        public string SelectedTimeZone { get; set; }
        public int SettingsType { get; set; }
    }

    public enum CustomerSettingsType
    { 
        RegionAndLanguages = 0,
        EmailPreferences = 1
    }
}